PPrintPaperPS

Specifies paper-related print options executed with the PPrint command (for PostScript printers only).


Command constructor

PPrintPaperPS(const char * sSize, const char * sSource, long yLength, long xWidth, long yPaperFeed, long xPaperMargin, short bOrientation, PMBool bCenter, short cTiling, long xOverlap, short cScaleType, short nVal);
const char * sSize;
Name of standard paper size and exactly as it appears in the Size pop-up menu
"Custom" for user -defined paper size
const char * sSource;
Name of paper tray and exactly as it appears in the Source pop-up menu
"Manual" for manual feed
long yLength;
kParmDontCare for standard size paper
Length (height) of custom paper (maximum of 45 inches) in twips
long xWidth;
kParmDontCare for standard paper size
Width of custom paper, (maximum of 45 inches) in twips
long yPaperFeed;
Distance between pages printed in succession on a roll of paper or film in twips
long xPaperMargin;
Distance to offset the image area laterally (from side to side), to adjust for a non-standard media width in twips
short bOrientation;
false for normal orientation of custom paper
true for transverse orientation of custom paper
kParmDontCare if paper size is standard (not custom)
PMBool bCenter;
false for Center Page in Print Area off
true for Center Page in Print Area on (for asymmetri cal print areas)
short cTiling;
0 for no tiling
1 for manual tiling
2 for Auto tiling (to overlap tiles by amount specified in xOverlap)
long xOverlap;
Minimum amount of overlap between tiles, in the specified unit of measure, if autooverlap is specified for cTiling (maximum of five inches) in twips
short cScaleType;
0 (zero) to scale the publication
1 to scale the publication to fit the selected paper size
2 to print thumbnails
short nVal;
Percentage for numeric scaling, from 5% (50) to 1600% (16000), if cScaleType = scaling or 0
Number of thumbnails per page, from 1 to 100, if cScaleType = 2
kParmDontCare if cScaleType is fitonpaper or 1 (can range from 1 to 100)
nVal scale values. PageMaker scales the nVal scale value by a factor of 10. To get 100% scaling, enter a value of "1000."

Some parameters ignored for standard paper. yLength, xWidth, yPaperFeed, xPaperMargin, and bOrientation are ignored unless sSize is set to "custom,"which is available only when printing to an imagesetter.

Use bCenter for asymmetrical print areas. Use bCenter to center the page on printers with asymmetrical print areas (such as the QMS ColorScript).

Layout view only. The PPrintPaperPS command works only in layout view.

Example. The following example prints a standard, letter-size publication at 100% size. Because sSize is standard (not custom), the yLength, xWidth, yPaperFeed, xPaperMargin, and bOrientation parameters are irrelevant.

PPrintPaperPS("Letter", "Paper Tray", kParmDontCare, kParmDontCare, kParmDontCare, kParmDontCare, kParmDontCare, 0, 0, kParmDontCare, 0, 1000);


See also

The PPrint, PPrintColor, PPrintDoc, PPrintInk, PPrintOptions, PPrintOptionsPS, and PPrintTo commands

The PGetPrintPaperPS query

Adobe PageMaker 6.5 Help > Commands > File > Print


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support